package processer

import (
	"hermes/manager"
	"hermes/message"
)

func PackMessage(message *message.ProcessMessage)  {

	tableMetaData := manager.GetTableMetaData(message.TableName,message.Event.TableID)
	message.TableColumnNames = tableMetaData.ColumnNames
	message.TableColumnTypes = tableMetaData.ColumnTypeNames

	//for _,row := range message.Rows{
	//	fmt.Println(row)
	//	//for column := range row.([]interface{}) {
	//	//	fmt.Print(column)
	//	//}
	//}
}